﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Left.aspx.cs" Inherits="Moral_Teacher_ScoreInput_Left" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
        <link href="../../Common/css/main.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
        
        
        /**
            导航个人查询
        */
        function leftNav(obj, nav) {
            removeActiveStyle();
            obj.parentNode.className = "active";
            var liList = document.getElementById("detailLi");
            liList.style.display = "none";
            
            //获取historyId
            var id = obj.id;
            var evalType = obj.evaltype;
            var attribute = obj.attribute; 
            var status = Number(obj.status);
            
            if(status == 0){
                parent.frames["mainFrame"].location.href = "msgPage.html";
                return;
            }
            
            parent.frames["mainFrame"].location.href =  "Overview.aspx?id=" + id + "&evaltype=1&attribute=3";
//            switch(nav) {
//                case 0:
//                    parent.frames["mainFrame"].location.href = "Overview.aspx?id="+id+"&evaltype="+evalType+"&attribute="+attribute;
//                    break;
//               case 1:
//                    parent.frames["mainFrame"].location.href = "DayInput.aspx?id="+id+"&evaltype="+evalType+"&attribute="+attribute;
//                    break;
//               case 2:
//                    parent.frames["mainFrame"].location.href = "WeekInput.aspx?id="+id+"&evaltype="+evalType+"&attribute="+attribute;
//                    break;
//               case 3:
//                    parent.frames["mainFrame"].location.href = "Overview.aspx?id="+id+"&evaltype="+evalType+"&attribute="+attribute;
//                    break;
//               case 4:
//                    parent.frames["mainFrame"].location.href = "Overview.aspx?id="+id+"&evaltype="+evalType+"&attribute="+attribute;
//                    break;
//            }
        }
                
        /**
            移除active样式
        */
        function removeActiveStyle() {
            var liList = document.getElementsByTagName("li");
            for (var i=0; i<liList.length; i++) {
                liList[i].className = "";
            }
        }
        
//        window.onload = function() {
//            parent.frames["mainFrame"].location.href = "Overview.aspx?id="+id+"&evaltype="+evalType+"&attribute="+attribute;
//        }
    
    </script>
</head>
<body style="overflow: hidden;">
    <div class="leftWarp">
        <div class="menuBody">
            <div class="menuList">
                <dl>
                    <h2>
                        德育评分录入</h2>
                    <ul>
                        <dd id="dd">
                            
                        <%--    <li class="active"><a href="#" onclick="leftNav(this, 0)">&nbsp;&nbsp;&nbsp;&nbsp;学生日常行为规范</a></li>
                            <li id="Li1" class="" ><a href="#" onclick="leftNav(this, 1)">&nbsp;&nbsp;&nbsp;&nbsp;班级行为记录</a></li>
                            <li id="Li2" class=""><a href="#" onclick="leftNav(this, 2)">&nbsp;&nbsp;&nbsp;&nbsp;各班大扫除检查</a></li>
                            <li id="Li3" class=""><a href="#" onclick="leftNav(this, 3)">&nbsp;&nbsp;&nbsp;&nbsp;各班黑板报评</a></li>
                            <li id="Li4" class=""><a href="#" onclick="leftNav(this, 4)">&nbsp;&nbsp;&nbsp;&nbsp;班级奖惩</a></li>
                            <li id="detailLi" style="display: none;"><a href="#">&nbsp;&nbsp;&nbsp;&nbsp;德育录入</a></li>--%>
                        </dd>
                    </ul>
                </dl>
            </div>
        </div>
    </div>
</body>
</html>
<script type="text/javascript">
<%

    SetNavigate();

 %>
</script>